package com.yiyuan.app.mapper;

import com.guaike.core.mybatis.plugins.BaseExtMapper;
import com.yiyuan.app.entity.po.MRecordOccupyPO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户包机记录表 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2024-11-05
 */
public interface MRecordOccupyExtMapper extends BaseExtMapper<MRecordOccupyPO> {
    int addPinecone(@Param("id") Long id, @Param("pinecone") Integer pinecone);

    int settle(@Param("id") Long id, @Param("pinecone") Integer pinecone);

    MRecordOccupyPO findByIdLock(@Param("id") Long id);
}
